Important: These forums are for discussions between SkyDemon users. They are not routinely monitored by SkyDemon staff so any urgent issues should be sent directly to our Customer Support.

Crash in Print Routine


Author
Message
rpc41
rpc41
Too Much Forum (1.3K reputation)Too Much Forum (1.3K reputation)Too Much Forum (1.3K reputation)Too Much Forum (1.3K reputation)Too Much Forum (1.3K reputation)Too Much Forum (1.3K reputation)Too Much Forum (1.3K reputation)Too Much Forum (1.3K reputation)Too Much Forum (1.3K reputation)
Group: Forum Members
Posts: 9, Visits: 98
The following details are from a crash in the beta version when attempting to open the print system. It was trying to display the Pilot Log. The error appears to be caused by not handling ERR values in the MSA column. Why they should be suddenly set to ERR I do not know. I have been working on this flight plan for days with no problems. After a reload of SkyDemon the plan is OK again.



I'm not really trying to break it honest!



************** Exception Text **************

System.OverflowException: Value was either too large or too small for an Int32.

at System.Convert.ToInt32(Double value)

at Divelements.Aviation.Printing.xe5925ec7c6387d7a.x89277ccf1e3b6e5e(RhumbLineLeg xb04e2e8e28f7f89c, TimeSpan& x9a91410fb3d88434, Double& xf7b90603456caad3, Double& xc56a91d7e892bc44)

at Divelements.Aviation.Printing.xe5925ec7c6387d7a.xac394532b9695a71(Graphics x41347a961b838962, Rectangle& xa688a683bf2cfced, Int32 x278780fb19a87271)

at Divelements.Aviation.Printing.xe5925ec7c6387d7a.PrintPageCore(Graphics graphics, Rectangle marginBounds, Int32 extraSpace, Boolean& hasMorePages)

at Divelements.Aviation.Printing.xeed88c7e16cd03c8.x5c733725b33861d1(Graphics x41347a961b838962, Rectangle x15c6bd22a9fe622f, Int32 xcc69cbe17e053f66, Boolean& x150bab93255d8ac6)

at Divelements.Aviation.Printing.xeed88c7e16cd03c8.OnPrintPage(PrintPageEventArgs e)

at System.Drawing.Printing.PrintController.PrintLoop(PrintDocument document)

at System.Drawing.Printing.PrintController.Print(PrintDocument document)

at System.Drawing.Printing.Printdocument.Print()

at System.Windows.Forms.PrintPreviewControl.ComputePreview()

at System.Windows.Forms.PrintPreviewControl.CalculatePageInfo()

at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)

at System.Threading.ExecutionContext.runTryCode(Object userData)

at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)

at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)

at System.Windows.Forms.Control.InvokeMarshaledCallbacks()



Tim Dawson
Tim Dawson
SkyDemon Team (678K reputation)SkyDemon Team (678K reputation)SkyDemon Team (678K reputation)SkyDemon Team (678K reputation)SkyDemon Team (678K reputation)SkyDemon Team (678K reputation)SkyDemon Team (678K reputation)SkyDemon Team (678K reputation)SkyDemon Team (678K reputation)
Group: Forum Members
Posts: 8.1K, Visits: 9.4K
Thanks rpc.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Login

Explore
Messages
Mentions
Search